/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.cqcis.uip.base.framework.utils;

import org.apache.commons.httpclient.HttpMethod;
import org.apache.commons.httpclient.HttpStatus;

/**
 * HTTP 工具
 * 
 * @author huangmy
 * @date   2008-10-13
 */
public class HttpUtil {
	/**
	 * 是否正确
	 * 
	 * @param md
	 * @return
	 */
    public static boolean isOK(HttpMethod md) {
    	if (md.getStatusCode() == HttpStatus.SC_OK) {
    		return true;
    	}
    	
    	return false;
    }
}
